/**
 * @name: index
 * @author: win10
 * @date: 2024/3/14 9:38
 * @description：index
 * @update: 2024/3/14 9:38
 */
import { createI18n } from "vue-i18n";
//本地语言包
import enLocale from "./package/en";
import zhCnLocale from "./package/zh-cn";

const messages = {
  "zh-cn": {
    ...zhCnLocale,
  },

  en: {
    ...enLocale,
  },
};
const i18n = createI18n({
  legacy: false,
  locale: "zh-cn",
  messages,
});
export default i18n;
